package com.hckjsec.cloud.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hckjsec.common.annotation.Excel;
import com.hckjsec.common.core.domain.BaseEntity;
import com.hckjsec.website.domain.view.WebSiteMatterTableView;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 事项材料对象 applets_wechat_matter
 * 
 * @author cyt
 * @date 2022-02-15
 */
public class AppletsWechatMatter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    @Excel(name = "部门id")
    private Long deptId;

    /** 名称 */
    @Excel(name = "名称")
    private String matterName;

    /** 事项图标 */
    @Excel(name = "事项图标")
    private String nameIcon;

    /** 事项图片 */
    @Excel(name = "事项图片")
    private String nameImg;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long operator;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operatortime;

    private List<WebSiteMatterTableView> tableList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setMatterName(String matterName) 
    {
        this.matterName = matterName;
    }

    public String getMatterName() 
    {
        return matterName;
    }
    public void setNameIcon(String nameIcon) 
    {
        this.nameIcon = nameIcon;
    }

    public String getNameIcon() 
    {
        return nameIcon;
    }
    public void setNameImg(String nameImg) 
    {
        this.nameImg = nameImg;
    }

    public String getNameImg() 
    {
        return nameImg;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setOperator(Long operator) 
    {
        this.operator = operator;
    }

    public Long getOperator() 
    {
        return operator;
    }
    public void setOperatortime(Date operatortime) 
    {
        this.operatortime = operatortime;
    }

    public Date getOperatortime() 
    {
        return operatortime;
    }

    public List<WebSiteMatterTableView> getTableList() {
        return tableList;
    }

    public void setTableList(List<WebSiteMatterTableView> tableList) {
        this.tableList = tableList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("matterName", getMatterName())
            .append("nameIcon", getNameIcon())
            .append("nameImg", getNameImg())
            .append("content", getContent())
            .append("state", getState())
            .append("sort", getSort())
            .append("operator", getOperator())
            .append("operatortime", getOperatortime())
            .toString();
    }
}
